{include file="header.tpl"}
<div class="container">
    <div class="wrapper">
        <div id="st-accordion" class="st-accordion">
            <ul>
                <li class="st-open" style="height: auto;">
                    <a href="#" title="House Info">物件情報<span class="st-arrow">Open or Close</span></a>
                    <div class="st-content">
                        {if $contract}
                            <p>管理番号 : {$transaction.contract_code}</p>
                            <p>物件名 : {$transaction.house_name}</p>
                            <p>号室 : {$transaction.room_number}</p>
                        {else}
                            <p>No data found</p>
                        {/if}
                    </div>
                </li>
                <li class="st-open" style="height: auto;">
                    <a href="#" title="thông tin người ký hợp đồng">契約者情報<span class="st-arrow">Open or Close</span></a>
                    <div class="st-content">
                        {if $contract}
                            <p>退去者 : {$transaction.client_name}</p>
                            <p>連絡先 : {$transaction.client_phone}</p>
                            <p>保証会社 : {$transaction.guarantee_company_name}</p>
                            <p>内容 : {$transaction.content_name}</p>
                            <p>受理日 : {$transaction.transaction_date_create}</p>
                        {else}
                            <p>No data found</p>
                        {/if}
                    </div>
                </li>
                <li class="st-open" style="height: auto;">
                    <a href="#" title="ngày tiếp nhận">受付日 </a> 
                    <div class="st-content">
                        <p> 受理日 : {$transaction.reception_date}</p>
                        <p> 解約日 : {$transaction.contract_cancel_date}</p>
                        <p> 退去日 : {$transaction.stop_renting_date}</p>
                        <p> 時間 : {$transaction.stop_renting_time}</p>
                    </div>
                </li>
                <li class="st-open" style="height: auto;">
                    <a href="#" title="lịch sửa chữa phòng của đối tác">立会内装業者日程 </a> 
                    <div class="st-content">
                        <p> 立会内装業者 : 
                            {foreach from=$repair_users key=k item=u}
                                {if $transaction.room_partner_id eq $u.id}
                                    {$u.user_lname} {$u.user_fname}
                                {/if}
                            {/foreach}
                        </p>
                        <p> 内見方法 : {$transaction.way_to_see_room}</p>
                        <p> 報告書 : {$transaction.report_fee_text}</p>
                        <p> 退去日 : {$transaction.accept_report_fee}</p>
                        <p> 内装ＵＰ : {$transaction.funiture_repair}</p>
                    </div>
                </li>
                <li class="st-open" style="height: auto;">
                    <a href="#" title="lịch thay chìa khóa">鍵交換業者日程</a>
                    <div class="st-content">
                        <p> 鍵交換業者 : 
                            {foreach from=$key_users key=k item=u}
                                {if $transaction.key_partner_id eq $u.id}
                                    {$u.user_lname} {$u.user_fname}
                                {/if}
                            {/foreach}
                        </p>
                        <p> 交換予定日 : {$transaction.appointment_change_key_date}</p>
                        <p> 鍵交換日 : {$transaction.assign_key_date}</p>
                        <p> 回収 : {$transaction.recovery_key_date}</p>
                    </div>
                </li>
                <li class="st-open" style="height: auto;">
                    <a href="#" title="thông tin hợp đồng mới">新契約情報</a> 
                    <div class="st-content">
                        <p> 賃発日 : {$transaction.new_registry_date}</p>
                        <p> 新契約番号 : {$transaction.new_registry_content}</p>
                        <p> 備考 : {$transaction.new_registry_comment}</p>
                        <p> 弁済期限 : {$transaction.payment_deadline}</p>
                        <p> 弁済請求日 : {$transaction.payment_request_date}</p>
                        <p> 弁済請求日 : {$transaction.payment}</p>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--<script type="text/javascript" src="{$url->url_base}include/js/jquery.accordion.js"></script>
<script type="text/javascript" src="{$url->url_base}include/js/jquery.easing.1.3.js"></script>-->
<link rel="stylesheet" type="text/css" href="{$url->url_base}include/css/demo.css" />
<link href='http://fonts.googleapis.com/css?family=Josefin+Slab:400,700' rel='stylesheet' type='text/css' />
{literal}
<!--<script type="text/javascript">
    $(function () {
        $('#st-accordion').accordion();
    });
</script>-->
{/literal}
{include file="footer.tpl"}